home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_usrdoc / WU-FTPD-.{2P / VIRTUAL_.{15 < prev   
Internet Message Format  |  1999-09-17  |  2KB

  1. Date: Fri, 26 May 1995 21:33:23 -0400 (EDT)
  2. From: Brian Kramer <bjkramer@pluto.njcc.com>
  3. To: wu-ftpd@wugate.wustl.edu
  4. Subject: Virtual FTP Servers
  5.  
  6. [Modifications to provide for discrete xferlogs for each server provided by
  7. Marc G. Fournier <scrappy@ki.net> -- sob.]
  8.  
  9. I'm attaching a patch for wu-ftpd 2.4 to allow virtual ftp servers to be 
  10. setup.  Basically so a user ftping to ftp1.domain.com gets one ftp banner 
  11. and one ftp directory and a user ftping to ftp2.domain.com gets another 
  12. banner and directory even though they are on the same machine and port.
  13.  
  14.  
  15. I was the person who originally asked how to do it, and got enough answers 
  16. to write a patch that would allow it.  You have to be able to setup alias 
  17. IP addresses in order for this to work.  I know linux and bsdi support this.  
  18. I do not warrant this code at all.  Use it AT YOUR OWN RISK.  If it causes 
  19. your computer to blow up, TOUGH! 
  20.  
  21. Please send me comments, I'm interested in improving it, and hearing
  22. how it works for people.
  23.  
  24. Here's the steps.
  25.  
  26. Compile the software with -DVIRTUAL added to the CFLAGS in the Makefile
  27.  
  28. Add lines similar to the following for each virtual server to ftpaccess:
  29.  
  30. # Virtual Server at 10.10.10.10
  31. virtual 10.10.10.10 root    /var/ftp/virtual/ftp-serv 
  32. virtual 10.10.10.10 banner  /var/ftp/virtual/ftp-serv/banner.msg
  33. virtual 10.10.10.10 logfile /var/log/ftp/virtual/ftp-serv/xferlog
  34.  
  35.  
  36. The first arg is the ip address of the virtual server.
  37. The second arg is either "root", "banner" or "logfile" (without the quotes)
  38. for that virtual server.
  39. The third arg is the file system location for the item specified in the 
  40. second arg.
  41.  
  42. Note: all the other message files, etc, and permissions and other settings
  43. in the ftpaccess file apply to all virtual servers.
  44.  
  45. $Id: VIRTUAL.FTP.SUPPORT,v 1.4 1998/07/03 17:01:15 sob Beta-17 sob $
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.